//
//  Alert.swift
//  
//
//  Created by 万孟超 on 2023/7/26.
//

import UIKit

class Alert {
    
    class func show(_ message: String, on: UIViewController) {
        let controller = UIAlertController(title: "提示", message: message, preferredStyle: .alert)
        let action = UIAlertAction(title: "好嘞", style: .cancel)
        controller.addAction(action)
        on.present(controller, animated: true)
    }
    
}
